import React, { PureComponent } from "react"
import { Link,Route,Switch } from 'react-router-dom';
import WaitGrade from "./WaitGrade" //待我评分
import AssessPointDetails from "./WaitGrade/subPage/assessPointDetails" // 待我评分\考核点详情
import DataFile from "./WaitGrade/subPage/assessPointDetails/subpage/dataFile" // 待我评分\考核点详情
import AssessAnalyze from "./AssessAnalyze" // 考核版分析
import DepartmentAnalyze from "./DepartmentAnalyze" // 部门分析



export default ()=>{
    return (
         <Switch>
                <Route  exact path='/index' component={WaitGrade} />
                <Route  exact path='/index/assess' component={WaitGrade} />
                <Route  exact path='/index/assess/waitGrade' component={WaitGrade} />
                <Route  path='/index/assess/analyze' component={AssessAnalyze} />
                <Route  path='/index/assess/departmentAnalyze' component={DepartmentAnalyze} />

            	{/*待我评分\考核点详情*/}
                <Route  exact path='/index/assess/waitGrade/assessPointDetails' component={AssessPointDetails} />
                <Route  exact path='/index/assess/waitGrade/assessPointDetails/dataFile' component={DataFile} />
        </Switch>
        )
}